﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace test.demo.Model.QC
{
    /// <summary>
    /// 检测模板-产品
    /// </summary>
    public class Qc_Template_Product:Entity<int>
    {
        /// <summary>
        /// 检测模板 ID
        /// </summary>
        public int RecordId { get; set; }
        /// <summary>
        /// 检测模板 ID
        /// </summary>
        public int TemplateId { get; set; }
        /// <summary>
        /// 产品 ID
        /// </summary>
        public int ItemId { get; set; }
        // 产品编码
        public string ItemCode { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string ItemName { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string? Specification { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string UnitOfMeasure { get; set; }
        /// <summary>
        /// 最低检测数
        /// </summary>
        public int QuantityCheck { get; set; }
        /// <summary>
        /// 最大不合格数
        /// </summary>
        public int QuantityUnqualified { get; set; }
        /// <summary>
        /// 致命缺陷率
        /// </summary>
        public double CrRate { get; set; }
        /// <summary>
        /// 严重缺陷率
        /// </summary>
        public double MajRate { get; set; }
        /// <summary>
        /// 轻微缺陷率
        /// </summary>
        public double MinRate { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateBy { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 更新人
        /// </summary>
        public string? UpdateBy { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}
